package mybatis1.com.config.dao;

import mybatis1.com.config.model.Student;
import org.apache.ibatis.annotations.Param;

import java.sql.Date;
import java.util.List;

public interface StuDaol {
    //查看全部
    List<Student> find();
    List<Student> search(long stuno);
    List<Student> search1(@Param("stuno") long stuno ,@Param("gradeid")long gradeid, @Param("sname")String sname, @Param("telephone") String telephone, @Param("startdate")Date startdate,@Param("enddate") Date enddate);
    int update(@Param("sname") String sname,@Param("stuno") long stuno);
}
